package evo.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UserController {

    @RequestMapping(value = "/operation")
    public ModelAndView operation(){
        ModelAndView mv = new ModelAndView();
        mv.addObject("sex",1);
        mv.addObject("flag",true);
        mv.setViewName("operation");
        return mv;
    }
}
